package com.chenju.dynamicagent.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
public class MethodNode implements Serializable {
    private String threadId;
    private String name;
    private String signature;
    private List<MethodNode> invokeMethods;

    public MethodNode(String threadId, String name, String signature){
        this.threadId = threadId;
        this.name = name;
        this.signature = signature;
        this.invokeMethods = new ArrayList<>();
    }
}
